home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
Tutorial
/
Cookbook
/
makeclean.sh
< prev
next >
Wrap
Linux/UNIX/POSIX Shell Script
|
1995-06-12
|
351b
|
22 lines
#!/bin/sh
# shell script for removing all extra files
# should be run before re tar and compress for
# sending over modems
# WARNING! this removes all backup files (files that start with "~"
for i in *
do
if [ -d $i ]
then
cd "$i"
if [ -f Makefile ]
then
echo "makeing clean in $i"
make clean
ls *~
rm -f *~
fi
cd ..
fi
done